﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace store.cyt369.com.models
{
    /// <summary>
    /// 咨询表
    /// </summary>
    [Table("TB_Inquiry")]
    public class Inquiry
    {
        public int Id {  get; set; }
        /// <summary>
        /// 咨询人id
        /// </summary>
        public int InquirerID {  get; set; }

        /// <summary>
        /// 咨询人姓名
        /// </summary>
        public string Name {  get; set; }

        /// <summary>
        /// 咨询人性别
        /// </summary>
        public string Gender {  get; set; }

        /// <summary>
        /// 咨询人手机
        /// </summary>
        public string Phone {  get; set; }

        /// <summary>
        /// 咨询内容
        /// </summary>
        public string Content {  get; set; }

        /// <summary>
        /// 咨询地址
        /// </summary>
        public string Address {  get; set; }

        /// <summary>
        /// 咨询时间
        /// </summary>
        public DateTime Time {  get; set; }

        public Store  Store { get; set; }
        /// <summary>
        /// 店铺编号
        /// </summary>
        public int StoreID { get; set; }
    }
}
